<template>
  <div class="bb-bg">
    <div class="co-title">
      <div class="co-title-name">
        <img src="@/assets/cockpit/subdivision/js-text-tdcb.png" alt="" />
      </div>
      <div class="co-title-right">
        <div class="co-title-breathe"><i></i><i></i><i></i><i></i><i></i><i></i></div>
      </div>
    </div>
    <div class="bpl-container">
      <ul class="left">
        <li>
          <div class="item">
            <div class="title">
              <img src="@/assets/cockpit/subdivision/js-cb-text-bg.png" alt="" />
              <p>储备计划</p>
            </div>
            <div class="text">
              <span class="num">708.21</span>
              公顷
            </div>
          </div>
        </li>
        <li>
          <div class="item">
            <div class="title">
              <img src="@/assets/cockpit/subdivision/js-cb-text-bg.png" alt="" />
              <p>储备土地入库</p>
            </div>
            <div class="text">
              <span class="num">708.21</span>
              公顷
            </div>
          </div>
        </li>
        <li>
          <div class="item">
            <div class="title">
              <img src="@/assets/cockpit/subdivision/js-cb-text-bg.png" alt="" />
              <p>储备土地在库</p>
            </div>
            <div class="text">
              <span class="num">708.21</span>
              公顷
            </div>
          </div>
        </li>
        <li>
          <div class="item">
            <div class="title">
              <img src="@/assets/cockpit/subdivision/js-cb-text-bg.png" alt="" />
              <p>储备土地出库</p>
            </div>
            <div class="text">
              <span class="num">708.21</span>
              公顷
            </div>
          </div>
        </li>
      </ul>
      <div class="col-line"></div>
      <ul class="right">
        <li>
          <el-progress class="item" type="circle" :text-inside="true" color="#00FFAA" :percentage="75">212</el-progress>
          <div class="text-area">
            <p class="num">75%</p>
            <p class="text">储备土地入库</p>
            <p class="text">登记率</p>
          </div>
        </li>
        <li>
          <el-progress class="item" type="circle" :text-inside="true" color="#FF0000" :percentage="25"></el-progress>
          <div class="text-area">
            <p class="num2">25%</p>
            <p class="text">储备土地计划</p>
            <p class="text">执行率</p>
          </div>
        </li>
      </ul>
    </div>
  </div>
</template>

<script lang="ts">
import { Vue, Component } from 'vue-property-decorator'

@Component({
  name: 'BuildLandItem3',
  components: {}
})
export default class BuildLandItem3 extends Vue {
  mounted() {}
}
</script>
<style lang="scss" scoped>
@import '~@/styles/cockpit.scss';
.bb-bg {
  width: 100%;
  height: 100%;
  padding: 12px 12px 12px 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  &::before {
    content: '';
    display: block;
    width: 20px;
    height: 103%;
    background: url('~@/assets/cockpit/bpl-bg-line.png') no-repeat 0/ 100% 100%;
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translate(0, -50%);
  }
  .bpl-container {
    padding-top: 8px;
    overflow-x: hidden;
    display: flex;
    justify-content: space-between;

    .left {
      color: #fff;
      display: flex;
      flex-wrap: wrap;
      flex: 1;
      justify-content: space-between;

      .item {
        flex: 1;
        .title {
          font-size: 14px !important;
          position: relative;
          margin-left: -10px;
          img {
            width: 110px;
            height: 30px;
          }
          p {
            position: absolute;
            top: 6px;
            left: 18px;
          }
        }
        .text {
          font-size: 12px !important;
          .num {
            font-weight: bold;
            font-size: 20px !important;
          }
        }
      }
    }
    .col-line {
      width: 1px;
      height: 106px;
      background: rgba(255, 255, 255, 0.1);
      margin: 10px 10px 0 10px;
    }
    .right {
      flex: 1;
      display: flex;
      li {
        flex: 1;
        justify-content: space-between;
        position: relative;
        .text-area {
          position: absolute;
          top: 34px;
          left: 0;
          width: 100%;
          text-align: center;
          .num {
            font-weight: bold;
            font-size: 20px !important;
            line-height: 28px;
            text-align: center;
            color: #fff !important;
            text-shadow: 0 0 4px #0fa;
          }
          .num2 {
            font-weight: bold;
            font-size: 20px !important;
            line-height: 28px;
            text-align: center;
            color: #fff !important;
            text-shadow: 0 0 4px #f00;
          }
          .text {
            font-weight: 500;
            font-size: 10px !important;
            color: #bffeff;
            line-height: 16px;
          }
        }
        .item {
          width: 92px;
          height: 92px;
          display: block;
          margin: auto;
          margin-top: 18px;
          ::v-deep .el-progress-circle {
            width: 100% !important;
            height: 100% !important;
          }
          ::v-deep .el-progress__text {
            font-weight: bold;
            font-size: 20px !important;
            line-height: 28px;
            text-align: center;
            color: #fff !important;
            text-shadow: 0 0 4px #0fa;
          }
        }
      }
    }
  }
}
.row-line {
  width: 98%;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 14px auto 0 auto;
}
</style>
